home *** CD-ROM | disk | FTP | other *** search
- Path: news.mindspring.com!usenet
- From: rudd@mindspring.com (Justin Rudd)
- Newsgroups: comp.lang.c++
- Subject: Re: Help!
- Date: Sat, 06 Apr 1996 02:49:02 GMT
- Organization: MindSpring Enterprises
- Message-ID: <4k4m9p$20d8@mule1.mindspring.com>
- References: <4k4gev$lgo@dewey.csun.edu>
- Reply-To: rudd@mindspring.com
- NNTP-Posting-Host: rudd.mindspring.com
- X-Newsreader: Forte Free Agent v0.55
-
- kc44097@csun.edu (chen) wrote:
-
-
- > Can anyone help me out this problems below,please e-mail me,
- >my e-mail address is kc44097@huey.csun.edu
- > Thanks
- >-------------------------------------------------------------------------
-
- > 3. Consider the following C program:
-
- > void fun (void)
- > {
- > int a,b,c; /*define 1 */
- > ...
- > while(...)
- > {
- > int b,c,d; /* define 2 */
- > ... <---------------------- 1
- > while (...)
- > {
- > int c,d,e; /* define 3 */
- > ... <----------------------- 2
- > }
- > ... <--------------- 3
- > }
- > ... <------------------- 4
- > }
-
- > For each of the four marked points in this function,list each visia-
- > ble variable,along with the nbumber of the defination statement that
- > defines it.
-
- This looks like a code segment out of the book "Concepts of
- Programming Languages" by Robert W. Sebesta. Wow...it is...if any of
- you have this book and it is the 3rd Edition look on page 189 number
- 12. Then look at this post...looks familiar huh?? In fact if the
- original poster of this message will read sections 4.8, 4.9, and 4.10
- they could figure this out.
-
- And yes...I had this class last quarter.
-
- And before you flame me with stuff like "Maybe they are confused."
- They could have at least re-worded the question :-)
-
-
- Justin Rudd
- rudd@mindspring.com
- =======================================
- It'll work...trust me ;-)
- =======================================
-
-
-